package com.syq.service;


import com.syq.dto.DTO;
import com.syq.entity.Admin;
import com.syq.page.PageInfo;

public interface AdminService {
    /**
     * 查询全部家长
     * @return
     */
    public DTO<Admin> getAllAdmins() throws Exception;
    /**
     * 删除家长
     * @return
     */
    public DTO<Admin> deleteAdminByAno(String ano) throws Exception;
    /**
     * 修改家长
     * @return
     */
    public DTO<Admin> updateAdminByAno(Admin admin) throws Exception;
    /**
     * 增加家长
     * @return
     */
    public DTO<Admin> addAdmin(Admin admin) throws Exception;
    /**
     * 分页查询家长
     * @return
     */
    public DTO<Admin> getAdminByPage(PageInfo pageInfo) throws Exception;
    /**
     * 查询家长附上儿童
     * @return
     */
//    public DTO<Admin> selectAdminWithChildren(String cno) throws Exception;
//
//    public DTO<Admin> getAdminWithOrdrees(String cno) throws Exception;
//
//    public DTO<Admin> sendCodeMail(String cname) throws Exception;
//
//    public DTO<Admin> updateAdminByPwd(AdminVo adminVo) throws Exception;
//
//    public DTO<Admin> activate(String  cno)  throws Exception;


}
